﻿using JNPF.Common.Const;
using SqlSugar;

namespace JNPF.Website.Entitys;

/// <summary>
/// 产品管理1实体.
/// </summary>
[SugarTable("website_product")]
[Tenant(ClaimConst.TENANTID)]
public class WebsiteProductEntity
{
    /// <summary>
    /// 主键.
    /// </summary>
    [SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true)]
    public string Id { get; set; }

    /// <summary>
    /// 产品名称.
    /// </summary>
    [SugarColumn(ColumnName = "F_Name")]
    public string Name { get; set; }

    /// <summary>
    /// 排序码.
    /// </summary>
    [SugarColumn(ColumnName = "F_SortCode")]
    public long SortCode { get; set; }

    /// <summary>
    /// 广告语.
    /// </summary>
    [SugarColumn(ColumnName = "F_Description")]
    public string Description { get; set; }

    /// <summary>
    /// 主图链接.
    /// </summary>
    [SugarColumn(ColumnName = "F_MainImage")]
    public string MainImage { get; set; }

    /// <summary>
    /// 最小价格多少起.
    /// </summary>
    [SugarColumn(ColumnName = "F_MinPrice")]
    public decimal MinPrice { get; set; }

    /// <summary>
    /// 介绍视频链接.
    /// </summary>
    [SugarColumn(ColumnName = "F_VideoUrl")]
    public string VideoUrl { get; set; }

    /// <summary>
    /// 功能特征里的富文本.
    /// </summary>
    [SugarColumn(ColumnName = "F_SpecialRichText")]
    public string SpecialRichText { get; set; }

    /// <summary>
    /// 状态.
    /// </summary>
    [SugarColumn(ColumnName = "F_Status")]
    public int? Status { get; set; }

    /// <summary>
    /// 创建时间.
    /// </summary>
    [SugarColumn(ColumnName = "F_CreatorTime")]
    public DateTime? CreatorTime { get; set; }

    /// <summary>
    /// 创建用户.
    /// </summary>
    [SugarColumn(ColumnName = "F_CreatorUserId")]
    public string CreatorUserId { get; set; }

    /// <summary>
    /// 有效标志.
    /// </summary>
    [SugarColumn(ColumnName = "F_EnabledMark")]
    public int? EnabledMark { get; set; }

    /// <summary>
    /// 修改时间.
    /// </summary>
    [SugarColumn(ColumnName = "F_LastModifyTime")]
    public DateTime? LastModifyTime { get; set; }

    /// <summary>
    /// 修改用户.
    /// </summary>
    [SugarColumn(ColumnName = "F_LastModifyUserId")]
    public string LastModifyUserId { get; set; }

    /// <summary>
    /// 产品分类id.
    /// </summary>
    [SugarColumn(ColumnName = "F_ProductCategoryId")]
    public string ProductCategoryId { get; set; }

}